package com.xmg.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;

/**
 * @author xmg
 * @Description 图文
 * @email 463364973@qq.com
 * <p>
 * Date:2019/4/5 18:00
 */
@Data
@XStreamAlias("item")
public class Article {
    /** 图文消息标题 */
    @XStreamAlias("Title")
    private String title;

    /** 图文消息描述 */
    @XStreamAlias("Description")
    private String description;

    /** 图片链接，支持JPG、PNG格式，较好的效果为大图360*200，小图200*200 */
    @XStreamAlias("PicUrl")
    private String picUrl;

    /** 点击图文消息跳转链接 */
    @XStreamAlias("Url")
    private String url;

    public Article(String title, String description, String picUrl, String url) {
        this.title = title;
        this.description = description;
        this.picUrl = picUrl;
        this.url = url;
    }
}
